package com.iss.okair.service.trans;

import com.iss.okair.db.entity.AssetsCar;
import com.iss.okair.db.entity.AssetsTranUse;
import com.iss.okair.db.entity.Assetstrans;
import com.iss.okair.db.mapper.CarTransMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service

public class CarTransService {

    @Resource
    private CarTransMapper mapper;

    public List<AssetsTranUse> find(AssetsTranUse model){
        return mapper.select(model);
    }
    public List<AssetsTranUse> findout(AssetsTranUse model){
        return mapper.selectout(model);
    }
    //记录
    public List<AssetsTranUse> Record(String assetsid){
        return  mapper.Record(assetsid);
    }

}
